summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/adsp/audio_renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/renderer/adsp/audio_renderer.h')
-rw-r--r--src/audio_core/renderer/adsp/audio_renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/adsp/audio_renderer.h b/src/audio_core/renderer/adsp/audio_renderer.h
index 85ce6a269..88e558183 100644
--- a/src/audio_core/renderer/adsp/audio_renderer.h
+++ b/src/audio_core/renderer/adsp/audio_renderer.h
@@ -177,7 +177,7 @@ private:
/**
* Main AudioRenderer thread, responsible for processing the command lists.
*/
- void ThreadFunc();
+ void ThreadFunc(std::stop_token stop_token);
/**
* Creates the streams which will receive the processed samples.
@@ -187,7 +187,7 @@ private:
/// Core system
Core::System& system;
/// Main thread
- std::thread thread{};
+ std::jthread thread{};
/// The current state
std::atomic<bool> running{};
/// The active mailbox